package com.bankcomm.api;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import com.bankcomm.bean.BranchPoint;
import com.bankcomm.bean.MerchantObj;
import com.bankcomm.bean.NodeListInfo;
import com.bankcomm.bean.NodeSearch;
import com.bankcomm.bean.OnlineBooking;

/**
 * 核心接口类
 * 
 * @author zhang.h
 * 
 * @date 2012-5-12 下午02:37:18
 */
public interface BankcommGet2Api {



	/**
	 * 获取网点HashMap集合
	 * 
	 * @param url
	 * @return
	 */
	LinkedHashMap<Integer, BranchPoint> getBranchsJson(String url) throws Exception;

	/**
	 * 获取特惠商户列表
	 * 
	 * @param merchantUrl
	 * @return
	 */
	MerchantObj getMerchantInfos(String merchantUrl) throws Exception;

	/**
	 * 获取网点查询数据
	 * 
	 * @param nodeSearchUrl
	 */
	Map<String, NodeSearch> getNodeSearchData(String nodeSearchUrl) throws Exception;

	/**
	 * 获取网点列表
	 * 
	 * @param url
	 */
	NodeListInfo getNodes(String url) throws Exception;

	/**
	 * 获取在线预约数据
	 * 
	 * @param url
	 * @param urlBody
	 */
	HashMap<String, OnlineBooking> getOnlineBookingData(String url, String urlBody) throws Exception;
}
